package com.struct.graph.hall{
	/**
	 * 创建者：薛恒杰
	 * 工程名称：Marbles
	 * 创建时间：Aug 6, 2012 3:58:02 PM
	 * 类说明：Hall.as,
	 */
	import com.component.ComponentChildren;
	import com.component.button.Button;
	
	public class Hall extends ComponentChildren{
		private const spacing:uint = 20;
		public var btnStart:Button;//开始游戏
		
		public var btnQuit:Button;
		public var btnLogin:Button;
		public function Hall(){
			super();
			btnQuit = new Button("退出游戏");
			btnQuit.x = Main.c.width - btnQuit.width - 30;
			btnQuit.y = Main.c.height - btnQuit.height;
			addChild(btnQuit);
			
			btnLogin = new Button("切换账号");
			btnLogin.x = btnQuit.x - btnLogin.width - spacing;
			btnLogin.y = btnQuit.y;
			addChild(btnLogin);
			
			btnStart = new Button("开始游戏");
			btnStart.x = btnLogin.x - btnStart.width - spacing;
			btnStart.y = btnQuit.y;
			addChild(btnStart);
		}
	}
}